<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>TurBlog图片管理</title>
<link href="/css/admin.css" rel="stylesheet" type="text/css" />
<script>
function doSave()
{
if(doCheck())
{
if(EditForm.cid.value!="")EditForm.parameter.value="manageUpdate";
EditForm.submit();
}
}

function doCheck()
{
if(EditForm.title.value=="")
{
alert("栏目标题不能为空！");
EditForm.title.focus();
return false;
}

return true;
}
</script>
</head>

<body>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="8" class="cn_12px">
  <tr>
    <td><strong>博客相册编辑</strong><br />
    </td>
    <td><div align="right"></div></td>
  </tr>
</table>
<form action="/blogPhotoDir.do" method="post" name="EditForm" id="EditForm">
  <input type="hidden" name="parameter" value="add" />
  <input type="hidden" name="cid" value="$!cid" />
  <input type="hidden" name="parentsn"   value="$!parentsn" />
  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E8E8E8">
  <tr bgcolor="#FFFFFF">
      <td align="center" valign="top">相册所有者：</td>
      <td colspan="2">$!inputuser</td>
    </tr>
    <tr bgcolor="#FFFFFF">
		<td width="80" height="29" align="center">相册名称：</td>
      <td colspan="2"><input name="title" type="text" class="input3" id="ti" value="$!title" size="40" />
          <span class="text-red4">*(栏目的中文名名称)不超过20字</span></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td align="center" valign="top">相册简介：</td>
      <td colspan="2"><textarea name="intro" cols="3" id="intro" style="width:80%">$!intro</textarea>
      </td>
    </tr>
    <!--  
    <tr bgcolor="#FFFFFF">
      <td height="29" align="center">相册类型：</td>
      <td colspan="2"><select name="vrtype" onchange="showScore(this.value);">
      </select>
          <span id="scoreSpan"></span></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td height="29" align="center">显示顺序：</td>
      <td colspan="2"><input name="sequence" type="text" class="input3" id="Title" value="$!sequence" size="10" />
      </td>
    </tr>
    -->
    <tr bgcolor="#FFFFFF">
      <td height="30">&nbsp;</td>
      <td width="448"><input type="button" name="Submit" value="保存" onclick="doSave()" />
        
         <!-- <input type="reset" name="Submit23" value="重置" /> -->
        　
        <input type="reset" name="Submit22" value="返回" onclick="history.go(-1);" />
      </td>
      <td width="237"></td>
    </tr>
  </table>
</form>


</body>
</html>
